package com.ant.storage.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author melon
 * @since 2022-11-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Planned对象", description="")
public class Planned implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "申请id")
    @TableField("goods_pool_id")
    private Integer goodsPoolId;

    @TableField("city_id")
    private Integer cityId;

    @ApiModelProperty(value = "申请部门")
    @TableField("department_id")
    private Integer departmentId;


    @ApiModelProperty(value = "审批id")
    @TableField("process_instance_id")
    private String processInstanceId;

    @TableField("planned_number")
    private String plannedNumber;

    @TableField("apply_status")
    private Integer applyStatus;

    @TableField("creator_by")
    private String creatorBy;

    @TableField("creation_time")
    private Date creationTime;

    @TableField(exist = false)
    private List<HistoricalProcurement>  procurementList;



}
